/**
 * Created by yanqu on 2017/5/21.
 */
import React from 'react'
import { Paper, Menu, MenuItem, MuiThemeProvider } from 'material-ui'

const style = {
    display: 'inline-block',
    margin: '16px 32px 16px 0',
}

class Layout extends React.Component {
    render() {
        return (
            <MuiThemeProvider>
                <Paper style={style}>
                    <Menu>
                        <MenuItem primaryText="Users"/>
                        <MenuItem primaryText="Logout"/>
                    </Menu>
                </Paper>
                {this.props.children}
            </MuiThemeProvider>
        )
    }

}

export default Layout